package com.qf.dao;

import com.qf.pojo.Book;

import java.util.List;

public interface BookDao {
    /**
     *添加书籍方法
     */
    int insertBook(Book book);

    List<Book> queryAll();

    int deleteBook(int bookId);

    int updateBook(Book book);

    Book query(int bookId);
}
